package com.tentative.competition.schedule.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.tentative.competition.system.domain.Base;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author huangyuansheng
 * @auther: Smile Huang
 * @date: 2023/6/27 21:19
 * @desc: 赛程作品评分细节
 * @version: 2.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("schedule_score_detail")
public class ScheduleScoreDetail extends Base {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("赛程ID")
    private Long scheduleId;

    @ApiModelProperty("作品ID")
    private Long worksId;

    @ApiModelProperty("评委ID")
    private Long userId;

    @TableField(exist = false)
    @ApiModelProperty("评委名称")
    private String userName;

    @ApiModelProperty("得分")
    private String score;

    @ApiModelProperty("评语")
    private String comment;

}
